var globalConfig = require('../config')
var ajax = require('../../helper/ajax')

module.exports = {
  // 优惠券数量统计/couponFacade/getCouponAmount
  getCouponAmount: function (datas, req) {
    return ajax.post(globalConfig.ossService.url + '/couponFacade/getCouponAmount', datas, req)
  },
  // 优惠券统计列表
  queryCouponList: function (datas, req) {
    return ajax.post(globalConfig.ossService.url + '/couponFacade/queryCouponList', datas, req)
  },
  // 抵用金统计/rewardsFacade/getUserLcjDetail
  getUserLcjDetail: function (datas, req) {
    return ajax.post(globalConfig.ossService.url + '/rewardsFacade/getUserLcjDetail', datas, req)
  },
  // 抵扣金列表/rewardsFacade/queryLcjListByStatus
  queryLcjListByStatus: function (datas, req) {
    return ajax.post(globalConfig.ossService.url + '/rewardsFacade/queryLcjListByStatus', datas, req)
  }
}
